package edu.sctu.renpingan.day20150527;

import java.util.Scanner;

/**
 * Created by user18 on 2015/5/27.
 */
public class Student {
    public String name;
    public String sex;
    public String adress;
    public String[] campuscard;
    public String requirement;

    public String getRequirement(){

        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入你的需求（例如：人数最少，我要吃面，我要吃稀饭包子，我要吃西餐,我要吃中餐）");
        String requirement = scanner.nextLine();

        return requirement;
    }

    public void selectWindow(String requirement){

        if(requirement == "人数最少"){
            System.out.println("请选择一号窗口");
        }
        if(requirement == "我要吃面"){
            System.out.println("请选择二号窗口");
        }
        if(requirement == "我要吃稀饭包子"){
            System.out.println("请选择三号窗口");
        }
        if(requirement == "我要吃西餐"){
            System.out.println("请选择五号窗口");
        }
        if(requirement == "我要吃中餐"){
            System.out.println("请选择六号窗口");
        }
    }
    public void selectSeat(){
        System.out.println("请去"+5+"号座位");
    }
    public void consume(){

    }
    public void selectDish(){

    }
}
